// 动态字体适配 lib/font-adapt.js
export const adaptFontSize = (size) => {
    const scale = screenAdapt.getScale();
    return `${size * scale}px`;
};

// 或使用CSS变量方案
export const setupFontVariables = () => {
    const scale = screenAdapt.getScale();
    document.documentElement.style.setProperty('--base-font-size', `${16 * scale}px`);
};
